<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ServiceInformation.aspx.cs" Inherits="Pages_Customer_ServiceInformation" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="header">Service Information</div><br /><br />
    <asp:GridView ID="gvServiceInformation" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" HeaderStyle-CssClass="smallheader" HeaderStyle-BackColor="#a9c0f2" BorderColor="#556cb0" GridLines="Vertical" Width="560px">
        <Columns>
            <asp:TemplateField>
                <ItemTemplate>
                    <asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("ServiceImage", "~/Images/Service/{0}") %>' Width="100px" />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="ServiceName" HeaderText="Service Name" SortExpression="ServiceName" />
            <asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description" HeaderStyle-HorizontalAlign="Center" />           
        </Columns>
        <HeaderStyle HorizontalAlign="Center" />
        <AlternatingRowStyle BackColor="#DCDCDC" />
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:TarsConnection %>"
        SelectCommand="SELECT [ServiceName], [ServiceImage], [Description] FROM [Services]"></asp:SqlDataSource>
</asp:Content>

